#include "predefine.h"

#define LIST_INIT_SIZE  100
#define LISTINCREMENT   10
typedef int Elemtype;
typedef struct {
    Elemtype *elem;
    int length;
    int listsize;
}Sqlist;

Status initSqlist(Sqlist *L){
    L.elem = (Elemtype *)malloc(LIST_INIT_SIZE*sizeof(Elemtype));
    if(!L.elem) exit(OVERFLOW);
    L.length = 0;
    L.listsize = LIST_INIT_SIZE;
    return OK;
}
